package com.cci.kangdao.utilTool;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author William Du
 * @date 2019/4/16
 */
@Getter
@Setter
public class GetSmnResponse {

    @JsonProperty("DataArea")
    private DataAreaBean dataArea;
    @JsonProperty("Header")
    private HeaderBean header;
    @JsonProperty("Status")
    private String status;

    @Getter
    @Setter
    public static class DataAreaBean {
        @JsonProperty("Engines")
        private List<EngineBean> engines;
    }

    @Getter
    @Setter
    public static class HeaderBean {
        @JsonProperty("Status")
        private String status;
    }

    @Getter
    @Setter
    public static class EngineBean {
        @JsonProperty("EtoConversionDate")
        private String etoConversionDate;
        @JsonProperty("EquipmentId")
        private String equipmentId;
        @JsonProperty("EngineAppCode")
        private String engineAppCode;
        @JsonProperty("DesignPhaseCode")
        private String designPhaseCode;
        @JsonProperty("ETOOldPSN")
        private String eTOOldPSN;
        @JsonProperty("Manufacturer")
        private String manufacturer;
        @JsonProperty("OEMSPCode")
        private String oemsPCode;
        @JsonProperty("CriticalPartsListNumber")
        private String criticalPartsListNumber;
        @JsonProperty("CustomerName")
        private String customerName;
        @JsonProperty("ProdAppCode")
        private String prodAppCode;
        @JsonProperty("ServiceModelName")
        private String serviceModelName;
        @JsonProperty("EngineFamilyName")
        private String engineFamilyName;
        @JsonProperty("EquipmentConfiguration")
        private String equipmentConfiguration;
        @JsonProperty("PACCARFlag")
        private String pACCARFlag;
        @JsonProperty("Esn")
        private String esn;
        @JsonProperty("EngineBillToCode")
        private String engineBillToCode;
        @JsonProperty("MarineAppFlag")
        private String marineAppFlag;
        @JsonProperty("AccessCode")
        private String accessCode;
        @JsonProperty("ShipDate")
        private String shipDate;
        @JsonProperty("AutomotiveAppFlag")
        private String automotiveAppFlag;
        @JsonProperty("EngineFamilyCode")
        private String engineFamilyCode;
        @JsonProperty("BuildDate")
        private String buildDate;
        @JsonProperty("EngineAppDesc")
        private String engineAppDesc;
        @JsonProperty("NoWarranty")
        private String noWarranty;
        @JsonProperty("ProdAppDesc")
        private String prodAppDesc;
        @JsonProperty("Model")
        private String model;
        @JsonProperty("VIN")
        private String vin;
        @JsonProperty("WarrantyStartDate")
        private String warrantyStartDate;
    }
}
